package cn.edu.scau.cmi.houzhicong.singletonPattern.domain;

public class SingleChairMan {

	private static SingleChairMan singletions;
	private String id;

	public String getId() {
		return id;
	}

	private SingleChairMan(String id){
		this.id = id;
	}

	synchronized public static SingleChairMan getInstance(String id){
		if(singletions == null){
			singletions = new SingleChairMan(id);
		}
		return singletions;
	}
}
